/*
 * Interface that represents a distance function.
 * @(#)DistanceFunction.java
 *
 * Revision:
 * Author                                         Date           
 * --------------------------------------------   ------------   
 * Ana Emilia Victor Barbosa Coutinho             25/06/2012    
 */
package br.edu.ufcg.splab.techniques.reduction.functions.similarity;

import br.edu.ufcg.splab.generator.TestCase;


public interface DistanceFunction {

	/**
	 * Returns the similarity degree between two test cases. 
	 * 
	 * @param path1 First test case.
	 * @param path2 Second test case.
	 * @return The similarity degree between two test cases.
	 */
	public double getSimilarity(TestCase path1, TestCase path2);
	
	/**
     * Provide a string representation of the similarity function to be written.
     * @return The string representation of the similarity function.
     */
	public String getFunctionName();
	
}
